package cn.itcast.bos.service.base.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import cn.itcast.bos.dao.base.TakeTimeRepository;
import cn.itcast.bos.domain.base.TakeTime;
import cn.itcast.bos.service.base.TakeTimeService;
@Service
public class TakeTimeServiceImpl implements TakeTimeService {
	@Resource
	private TakeTimeRepository repository;
	@Override
	public List<TakeTime> findAll() {
		return repository.findAll();
	}
	@Override
	public Page<TakeTime> findPage(Pageable pageable) {
		return repository.findAll(pageable);
	}

}
